﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Monkey : animal, climb,swin
    {public Monkey(string name) : base(name)
        {

        }
        public void climb()
        {
            Console.WriteLine("{0}可以爬树",this.Name);
        }

        public void swin()
        {
            Console.WriteLine("{0}可以游泳",this.Name);
        }
    }
}
